package com.FactoryMethod.factory.impl;

import com.FactoryMethod.animal.Animal;
import com.FactoryMethod.animal.imp.Dog;
import com.FactoryMethod.factory.AnimalFactory;

public class DogFactory implements AnimalFactory {
    @Override
    public Animal getAnimal() {
        return new Dog();
    }
}
